﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HomeCareLibrary.Core.JsonObjects
{
    public class Sponsor
    {
        public string sponsor_name { get; set; }
        public string welcome_image_URL { get; set; }
        public string welcome_image_chg_time { get; set; }
        public string iname_line { get; set; }
        public string icompany_name { get; set; }
        public string iemail_address { get; set; }
        public string iphone_number { get; set; }
        public string itagline { get; set; }
        public string ilogo_pic { get; set; }
        public string iwebsite { get; set; }
        public string spon_change_time { get; set; }

        public Sponsor()
        { }

        public Sponsor(string _sponsor_name, string _welcome_image_URL, string _welcome_image_chg_time, string _iname_line, 
            string _icompany_name, string _iemail_address, string _iphone_number, string _itagline, string _ilogo_pic, 
            string _iwebsite, string _spon_change_time)
        {
            sponsor_name = _sponsor_name != string.Empty ? _sponsor_name : null;
            welcome_image_URL = _welcome_image_URL != string.Empty ? _welcome_image_URL : null;
            welcome_image_chg_time = _welcome_image_chg_time != string.Empty ? _welcome_image_chg_time : null;
            iname_line = _iname_line != string.Empty ? _iname_line : null;
            icompany_name = _icompany_name != string.Empty ? _icompany_name : null;
            iemail_address = _iemail_address != string.Empty ? _iemail_address : null;
            iphone_number = _iphone_number != string.Empty ? _iphone_number : null;
            itagline = _itagline != string.Empty ? _itagline : null;
            ilogo_pic = _ilogo_pic != string.Empty ? _ilogo_pic : null;
            iwebsite = _iwebsite != string.Empty ? _iwebsite : null;
            spon_change_time = _spon_change_time != string.Empty ? _spon_change_time : null;
        }
    }
}
